package grpc_demo

import (
	"context"
	"protobuf/pb"
)

type FutureGrpcServer struct {
	pb.UnimplementedFutureServer
}

func (f *FutureGrpcServer) GetMinBar(ctx context.Context, in *pb.BarRequest) (*pb.BarResponse, error) {
	return &pb.BarResponse{Instrument: in.Instrument}, nil
}
